<?php
namespace app\index\model;

use think\Model;
class PetModel extends Common{
    //自定义配置
    protected $connection = 'db_config';

}